#ifndef EVOLUTIONARY_EXCEPTION_HPP
#define EVOLUTIONARY_EXCEPTION_HPP
#include <string>

class EvolutionaryException: public std::exception
{
  public:
  std::string _message;
  int _line;
  std::string _file;
  std::string _function;
  int _code;
  EvolutionaryException(const char* message);
  EvolutionaryException(const int &code,const char* message,
		    const char* function,const char* file,const int &line);
  EvolutionaryException(const EvolutionaryException &exception);
  EvolutionaryException &operator=(const EvolutionaryException &exception);
  const char* what() const throw();
  ~EvolutionaryException() throw();
};

#endif
